package soso.Dao;

import com.oracle.webservices.internal.api.databinding.DatabindingMode;

import java.io.Serializable;

/**
 * @author ：lzc
 * @date ：Created in 2021/8/20 0020 14:15
 * @description：
 */
public class User implements Serializable {
    final static long serialVersionUId = -13123123123L;
    String username;    //用户名
    String password;    //密码
    PhoneCard phonecard;    //手机卡
    public void showAll(){
        System.out.println("您的用户名为:"+username+" 卡号为:"+phonecard.toString());
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public PhoneCard getPhonecard() {
        return phonecard;
    }

    public void setPhonecard(PhoneCard phonecard) {
        this.phonecard = phonecard;
    }
}
